/*
 * Bedrock.h
 *
 *  Created on: 09.07.2011
 *      Author: seb
 */

#ifndef BEDROCK_H_
#define BEDROCK_H_

#include "Entity.h"
#include <boost/archive/text_oarchive.hpp>
#include <boost/serialization/export.hpp>

/**
 * An indestructible block
 */
class Bedrock: public Entity {
public:
	Bedrock();
	Bedrock(float x, float y);
	virtual ~Bedrock();

	virtual void render();
	virtual void init();

private:
	friend class boost::serialization::access;
	template <typename Archive>
	void serialize(Archive &ar, const unsigned int version)
	{
		ar & boost::serialization::base_object<Entity>(*this);
	}
};

BOOST_CLASS_EXPORT(Bedrock)

#endif /* BEDROCK_H_ */
